"""
将封装公共方法
"""
from selenium import webdriver


class BaseTool:
    def __init__(self):
        opt = webdriver.ChromeOptions()
        opt.debugger_address = "127.0.0.1:9222"
        self.driver = webdriver.Chrome(options=opt)
        self.driver.implicitly_wait(10)
